<?php
define('APP_NAME', 'mall');
define('THINKAPK_PATH', str_replace('apps/'.APP_NAME, '', dirname($_SERVER['SCRIPT_FILENAME'])));
require(THINKAPK_PATH.'library/shihui.php');
//实例化一个网站应用实例
$App = new App();
$App->run();
?>